#pragma once

#include <vector>

namespace xpam
{
    namespace dsp
    {
        class frame
        {
            std::vector<unsigned char> _data;
            int _width, _height, _depth;
        public:
            frame() : _width(0), _height(0) { }
        public:
            void assign(unsigned char * data, int width, int height, int depth)
            {
                _width = width;
                _height = height;
                _depth = depth;
                _data.assign(data, data + width * height * depth);
            };
            int width() { return _width; }
            int height() { return _height; }
            int depth() { return _depth; }
        };
    }
}